<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="admin/_admin_framt::head(Z博客后台)">
 <meta charset="utf-8" /> 
 <meta http-equiv="X-UA-Compatible" content="IE=edge"/> 
 <meta name="viewport" content="width=device-width, initial-scale=1"/> 
<title>博客后台</title>

<!--Bootstrap -->
 <link  href="../bootstrap/css/bootstrap.min.css" rel="stylesheet" /> 
 <link  href="../css/admin-side.css" rel="stylesheet" /> 
 <link  href="../css/admin-main.css" rel="stylesheet" /> 
 <link  href="../lib/editormd/css/editormd.css" rel="stylesheet" /> 
</head>

<!-- <body>
	<div>
	<th:lable th:text="${mess}"></th:lable>
	<form th:action="@{/admin/login}" method="post">
		<input th:type="text" name="username" />
		<input th:type="text" name="pwd"/>
		<input th:type="submit" th:value="登录"/>
	</form>
	</div>
</body> -->

<body th:style="' background-image: url('+'../image/5.jpg'+');background-repeat: no-repeat;background-size:cover; height: 100% ; '">
	<div id="login" style="margin: 0 auto; width: 600px;height: 400px; background: #fff;
	margin-top: 30px;
	border-radius: 8px;
	background-color: rgba(230,244,244,0.8);">
		<img th:src="@{../image/209.png}" style="height: 100%" class="pull-left logimg"/>
		<div class="pull-left" style="padding-left: 20px; text-align: center;padding-top: 20px;">
			<h3 class="h3" style="">登录</h3>
			<hr/>
			<form class="form-horizontal" th:action="@{/admin/login}" method="post">
			  <div class="form-group">
			    <label for="inputEmail3" class="col-sm-4 control-label">帐号</label>
			    <div class="col-sm-8">
			      <input class="form-control" id="inputEmail3" placeholder="帐号" th:type="text" name="username"/>
			    </div>
			  </div>
			  <div class="form-group">
			    <label for="inputPassword3" class="col-sm-4 control-label">密码</label>
			    <div class="col-sm-8">
			      <input class="form-control" id="inputPassword3" placeholder="密码" th:type="password" name="pwd"/>
			    </div>
			  </div>
			  <div class="form-group">
			    <div class="col-sm-offset-2 col-sm-10">
			      <div class="checkbox">
			        <label>
			          <input type="checkbox"/> 记住密码
			        </label>
			      </div>
			    </div>
			  </div>
			  <div class="form-group">
			    <div class="col-sm-offset-2 col-sm-10">
			      <button type="submit" class="btn btn-default">登录</button>
			    </div>
			  </div>
			  <div class="form-group">
				  <div class="col-sm-offset-2 col-sm-10" style="text-align: center;">
				    <label th:text="${mess}" style="color: red;">
				    </label>
				   </div>
			  </div>
			</form>
		</div>
		<div class="clearfix"></div>
	</div>
</body>

</html>